module KechengsHelper

  def rkjs_form_column(record, name)
    @users = User.find(:all,:conditions =>["juese = ?","教师"])
    @js={}
    for us in @users
      @js[us.real_name] = us.real_name
    end
#    check_box :record, :omnipotent, :name => name
#    select_tag name, options_for_select('教师' => '教师', '学生' => '学生')
    select_tag name, options_for_select(@js)
  end
end
